package com.jack.payment.entity.generate.payment;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "每次支付消息队列, 执行情况")
public class PaymentCallbackModel implements Serializable {
    @Schema(description = "唯一编号")
    private String id;
    @Schema(description = "与之关联的队列")
    private String mqId;
    @Schema(description = "类型")
    private Integer type;
    @Schema(description = "是否为手动 [1: 是手动操作 0:系统自动]")
    private Integer isManual;
    @Schema(description = "状态")
    private Integer status;
    @Schema(description = "回调结果")
    private String callContent;
    @Schema(description = "队列发送时间")
    private Long requestTime;
    @Schema(description = "消费时间")
    private Long callBackTime;
    @Schema(description = "回调地址")
    private String webhook;
    @Schema(description = "异常错误信息")
    private String exceptionInfo;
    @Schema(description = "异常错误名称")
    private String exceptionName;
}
